package com.example.novelweb.mapper;

import com.example.novelweb.model.entity.Chapter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.novelweb.model.vo.ChapterVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author PERSON
* @description 针对表【chapter(小说章节)】的数据库操作Mapper
* @createDate 2025-02-09 01:41:52
* @Entity com.example.novelweb.model.entity.Chapter
*/
public interface ChapterMapper extends BaseMapper<Chapter> {

  List<ChapterVO> listAllByNovelId(@Param("novelId") Long novelId,@Param("status")Integer status);
}




